package com.kfpanda.search.index;

import java.io.IOException;

import org.apache.lucene.document.Document;
import org.apache.lucene.index.CorruptIndexException;
import org.apache.lucene.index.IndexWriter;

public interface Indexer {
	
	public void indexCreate(IndexWriter writer, Document document) throws CorruptIndexException, IOException;
	public void indexCreate(String indexSaveDir, Document document) throws CorruptIndexException, IOException;
	
}
